<?php
include_once 'BaseException.class.php';

/**
 * Thrown on error during input validation
 *
 */
class InputValidationException extends BaseException {
    protected $dataObject;
    
    public function __construct($message = '', $code = 0, $dataObject = null, $previous = null) {        
        parent::__construct($message, $code, $previous);        
        $this->dataObject = $dataObject;        
    }

    public function getDataObject() {
        return $this->dataObject;
    }


}

